<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>一体化作战平台 - 模型管理</title>
    <!-- 引入Tailwind CSS -->
    <script src="https://cdn.tailwindcss.com"></script>
    <!-- 引入Font Awesome -->
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    
    <!-- Tailwind配置 -->
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#0066cc',
                        secondary: '#0099cc',
                        success: '#009966',
                        warning: '#ff9900',
                        danger: '#cc3300',
                        neutral: {
                            100: '#f5f7fa',
                            200: '#e4e7ed',
                            300: '#c0c4cc',
                            400: '#909399',
                            500: '#606266',
                            600: '#303133',
                            700: '#1f2937',
                        }
                    },
                    fontFamily: {
                        sans: ['Inter', 'system-ui', 'sans-serif'],
                    },
                    boxShadow: {
                        'card': '0 2px 8px rgba(0, 0, 0, 0.08)',
                        'dropdown': '0 4px 16px rgba(0, 0, 0, 0.12)',
                    }
                },
            }
        }
    </script>
    
    <!-- 自定义工具类 -->
    <style type="text/tailwindcss">
        @layer utilities {
            .scrollbar-hide {
                -ms-overflow-style: none;
                scrollbar-width: none;
            }
            .scrollbar-hide::-webkit-scrollbar {
                display: none;
            }
            .transition-all-300 {
                transition: all 300ms ease-in-out;
            }
        }
    </style>
</head>
<body class="bg-neutral-100 font-sans text-neutral-600 min-h-screen flex flex-col">
    <!-- 顶部导航栏 -->
    <header class="bg-white shadow-sm fixed top-0 left-0 right-0 z-50">
        <div class="flex items-center justify-between px-4 py-3">
            <div class="flex items-center space-x-3">
                <div class="w-10 h-10 bg-primary rounded-md flex items-center justify-center text-white">
                    <i class="fa fa-bank text-xl"></i>
                </div>
                <h1 class="text-xl font-bold text-neutral-700 hidden md:block">一体化作战平台</h1>
                <h1 class="text-lg font-bold text-neutral-700 md:hidden">研发交付平台</h1>
            </div>
            <div class="hidden md:flex relative flex-1 max-w-md mx-4">
                <input type="text" placeholder="搜索模型..." 
                    class="w-full pl-10 pr-4 py-2 rounded-md border border-neutral-200 focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary">
                <i class="fa fa-search absolute left-3 top-1/2 transform -translate-y-1/2 text-neutral-400"></i>
            </div>
            <div class="flex items-center space-x-1 md:space-x-4">
                <button class="relative p-2 rounded-full hover:bg-neutral-100 transition-all-300">
                    <i class="fa fa-bell-o text-lg text-neutral-600"></i>
                    <span class="absolute top-0 right-0 w-2 h-2 bg-danger rounded-full"></span>
                </button>
                <button class="relative p-2 rounded-full hover:bg-neutral-100 transition-all-300 hidden md:block">
                    <i class="fa fa-envelope-o text-lg text-neutral-600"></i>
                    <span class="absolute top-0 right-0 w-2 h-2 bg-primary rounded-full"></span>
                </button>
                <div class="flex items-center space-x-2 ml-2">
                    <div class="w-8 h-8 bg-neutral-200 rounded-full overflow-hidden">
                        <img src="https://picsum.photos/id/1005/200/200" alt="用户头像" class="w-full h-full object-cover">
                    </div>
                    <span class="hidden md:block text-sm font-medium text-neutral-700">张三</span>
                </div>
            </div>
        </div>
    </header>

    <!-- 主体内容 -->
    <div class="flex pt-16 flex-1">
        <!-- 左侧导航菜单 -->
        <aside class="w-16 md:w-64 bg-white shadow-sm fixed h-full left-0 top-16 overflow-y-auto scrollbar-hide transform md:transform-none transition-transform duration-300 z-40 -translate-x-full md:translate-x-0">
            <nav class="py-4">
                <ul>
                    <li class="mb-1">
                        <a href="index.html" class="flex items-center space-x-3 px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                            <i class="fa fa-tachometer text-lg"></i>
                            <span class="hidden md:block">首页</span>
                        </a>
                    </li>
                    <li class="mb-1">
                        <a href="business_strategy.html" class="flex items-center space-x-3 px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                            <i class="fa fa-line-chart text-lg"></i>
                            <span class="hidden md:block">业务战略</span>
                        </a>
                    </li>
                    <li class="mb-1">
                        <a href="architecture-management.html" class="flex items-center space-x-3 px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                            <i class="fa fa-sitemap text-lg"></i>
                            <span class="hidden md:block">架构管理</span>
                        </a>
                    </li>
                    <li class="mb-1">
                        <a href="requirementsManagement.html" class="flex items-center space-x-3 px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                            <i class="fa fa-list-alt text-lg"></i>
                            <span class="hidden md:block">需求管理</span>
                        </a>
                    </li>
                    <li class="mb-1">
                        <div class="design-menu-wrapper">
                            <div class="flex items-center justify-between px-4 py-3 text-primary bg-primary/5 border-r-4 border-primary">
                                <a href="design_management.html" class="flex items-center space-x-3 flex-1" onclick="event.stopPropagation();">
                                    <i class="fa fa-paint-brush text-lg"></i>
                                    <span class="hidden md:block font-medium">设计管理</span>
                                </a>
                                <button id="design-menu-toggle" class="hidden md:block p-1 hover:bg-primary/10 rounded transition-all" aria-label="展开/收起子菜单" onclick="event.stopPropagation();">
                                    <i class="fa fa-chevron-down text-xs transform transition-transform duration-300"></i>
                                </button>
                            </div>
                            <div id="design-submenu" class="overflow-hidden transition-all duration-300 ease-in-out">
                                <div class="bg-neutral-50 py-1">
                                    <a href="interface_management.html" class="flex items-center space-x-3 px-4 py-2 pl-12 text-neutral-600 hover:bg-primary/5 hover:text-primary transition-all text-sm">
                                        <i class="fa fa-plug text-sm"></i>
                                        <span class="hidden md:block">接口管理</span>
                                    </a>
                                    <a href="model_management.html" class="flex items-center space-x-3 px-4 py-2 pl-12 text-primary bg-primary/10 transition-all text-sm">
                                        <i class="fa fa-cubes text-sm"></i>
                                        <span class="hidden md:block font-medium">模型管理</span>
                                    </a>
                                    <a href="data_management.html" class="flex items-center space-x-3 px-4 py-2 pl-12 text-neutral-600 hover:bg-primary/5 hover:text-primary transition-all text-sm">
                                        <i class="fa fa-database text-sm"></i>
                                        <span class="hidden md:block">字典管理</span>
                                    </a>
                                    <a href="ui_management.html" class="flex items-center space-x-3 px-4 py-2 pl-12 text-neutral-600 hover:bg-primary/5 hover:text-primary transition-all text-sm">
                                        <i class="fa fa-desktop text-sm"></i>
                                        <span class="hidden md:block">差异分析</span>
                                    </a>
                                </div>
                            </div>
                        </div>
                    </li>
                    <li class="mb-1">
                        <a href="schedule_management.html" class="flex items-center space-x-3 px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                            <i class="fa fa-calendar text-lg"></i>
                            <span class="hidden md:block">排期管理</span>
                        </a>
                    </li>
                    <li class="mb-1">
                        <a href="developmentMage.html" class="flex items-center space-x-3 px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                            <i class="fa fa-code text-lg"></i>
                            <span class="hidden md:block">开发管理</span>
                        </a>
                    </li>
                    <li class="mb-1">
                        <div class="test-menu-wrapper">
                            <div class="flex items-center justify-between px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                                <a href="testManagement.html" class="flex items-center space-x-3 flex-1" onclick="event.stopPropagation();">
                                    <i class="fa fa-bug text-lg"></i>
                                    <span class="hidden md:block">测试管理</span>
                                </a>
                                <button id="test-menu-toggle" class="hidden md:block p-1 hover:bg-neutral-200 rounded transition-all" aria-label="展开/收起子菜单" onclick="event.stopPropagation();">
                                    <i class="fa fa-chevron-right text-xs transform transition-transform duration-300"></i>
                                </button>
                            </div>
                            <div id="test-submenu" class="hidden overflow-hidden transition-all duration-300 ease-in-out">
                                <div class="bg-neutral-50 py-1">
                                    <a href="test_cases.html" class="flex items-center space-x-3 px-4 py-2 pl-12 text-neutral-600 hover:bg-primary/5 hover:text-primary transition-all text-sm">
                                        <i class="fa fa-file-text-o text-sm"></i>
                                        <span class="hidden md:block">测试案例</span>
                                    </a>
                                    <a href="test_plans.html" class="flex items-center space-x-3 px-4 py-2 pl-12 text-neutral-600 hover:bg-primary/5 hover:text-primary transition-all text-sm">
                                        <i class="fa fa-calendar-check-o text-sm"></i>
                                        <span class="hidden md:block">测试计划</span>
                                    </a>
                                    <a href="test_reports.html" class="flex items-center space-x-3 px-4 py-2 pl-12 text-neutral-600 hover:bg-primary/5 hover:text-primary transition-all text-sm">
                                        <i class="fa fa-bar-chart text-sm"></i>
                                        <span class="hidden md:block">测试报告</span>
                                    </a>
                                    <a href="test_global_settings.html" class="flex items-center space-x-3 px-4 py-2 pl-12 text-neutral-600 hover:bg-primary/5 hover:text-primary transition-all text-sm">
                                        <i class="fa fa-cogs text-sm"></i>
                                        <span class="hidden md:block">全局设置</span>
                                    </a>
                                </div>
                            </div>
                        </div>
                    </li>
                    <li class="mb-1">
                        <a href="production_workflow.html" class="flex items-center space-x-3 px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                            <i class="fa fa-rocket text-lg"></i>
                            <span class="hidden md:block">投产上线</span>
                        </a>
                    </li>
                    <li class="mb-1">
                        <a href="quality_management.html" class="flex items-center space-x-3 px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                            <i class="fa fa-check-circle text-lg"></i>
                            <span class="hidden md:block">质量管理</span>
                        </a>
                    </li>
                    <li class="mb-1">
                        <a href="security_management.html" class="flex items-center space-x-3 px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                            <i class="fa fa-shield text-lg"></i>
                            <span class="hidden md:block">安全管理</span>
                        </a>
                    </li>
                    <li class="mb-1">
                        <a href="efficiency_metrics.html" class="flex items-center space-x-3 px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                            <i class="fa fa-bar-chart text-lg"></i>
                            <span class="hidden md:block">效能度量</span>
                        </a>
                    </li>
                    <li class="my-2">
                        <div class="border-t border-neutral-200 mx-4"></div>
                    </li>
                    <li class="mb-1">
                        <a href="teamManagement.html" class="flex items-center space-x-3 px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                            <i class="fa fa-users text-lg"></i>
                            <span class="hidden md:block">团队管理</span>
                        </a>
                    </li>
                    <li class="mb-1">
                        <a href="settings.html" class="flex items-center space-x-3 px-4 py-3 text-neutral-600 hover:bg-neutral-50 transition-all-300">
                            <i class="fa fa-cog text-lg"></i>
                            <span class="hidden md:block">设置</span>
                        </a>
                    </li>
                </ul>
            </nav>
        </aside>

        <!-- 主内容区域 -->
        <main class="flex-1 ml-16 md:ml-64 p-4 md:p-6 bg-neutral-100 min-h-screen">
            <!-- 面包屑导航 -->
            <div class="mb-6">
                <nav class="flex" aria-label="面包屑">
                    <ol class="inline-flex items-center space-x-1 md:space-x-3">
                        <li class="inline-flex items-center">
                            <a href="index.html" class="inline-flex items-center text-sm font-medium text-neutral-500 hover:text-primary">
                                <i class="fa fa-home mr-2"></i>首页
                            </a>
                        </li>
                        <li>
                            <div class="flex items-center">
                                <i class="fa fa-chevron-right text-neutral-400 text-xs mx-2"></i>
                                <a href="design_management.html" class="text-sm font-medium text-neutral-500 hover:text-primary">设计管理</a>
                            </div>
                        </li>
                        <li>
                            <div class="flex items-center">
                                <i class="fa fa-chevron-right text-neutral-400 text-xs mx-2"></i>
                                <span class="text-sm font-medium text-primary">模型管理</span>
                            </div>
                        </li>
                    </ol>
                </nav>
            </div>

            <!-- 页面标题 -->
            <div class="flex justify-between items-center mb-6">
                <h2 class="text-xl font-bold text-neutral-700">模型管理</h2>
            </div>

            <!-- Tab页签 -->
            <div class="bg-white rounded-lg shadow-card mb-6">
                <div class="border-b border-neutral-200">
                    <nav class="flex px-4" aria-label="Tabs">
                        <button class="tab-button px-6 py-4 text-sm font-medium text-primary border-b-2 border-primary" data-tab="physical-model">
                            <i class="fa fa-database mr-2"></i>物理数据模型
                        </button>
                        <button class="tab-button px-6 py-4 text-sm font-medium text-neutral-500 hover:text-primary border-b-2 border-transparent" data-tab="model-management">
                            <i class="fa fa-cogs mr-2"></i>模型管理
                        </button>
                        <button class="tab-button px-6 py-4 text-sm font-medium text-neutral-500 hover:text-primary border-b-2 border-transparent" data-tab="config-management">
                            <i class="fa fa-sliders mr-2"></i>配置管理
                        </button>
                    </nav>
                </div>
            </div>

            <!-- Tab内容区域 -->
            <div class="tab-content-wrapper">
                <!-- Tab 1: 物理数据模型 -->
                <div id="physical-model-content" class="tab-content">
                    <!-- 筛选区域 -->
                    <div class="bg-white rounded-lg shadow-card p-6 mb-6">
                        <h3 class="text-lg font-semibold text-neutral-700 mb-4 flex items-center">
                            <i class="fa fa-filter text-primary mr-2"></i>筛选条件
                        </h3>
                        <div class="grid grid-cols-1 md:grid-cols-4 gap-4">
                            <div>
                                <label class="block text-sm font-medium text-neutral-700 mb-2">板块</label>
                                <select class="w-full px-3 py-2 border border-neutral-200 rounded-md focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary">
                                    <option value="">全部板块</option>
                                    <option value="retail">零售银行</option>
                                    <option value="corporate">公司银行</option>
                                    <option value="finance">金融市场</option>
                                </select>
                            </div>
                            <div>
                                <label class="block text-sm font-medium text-neutral-700 mb-2">领域</label>
                                <select class="w-full px-3 py-2 border border-neutral-200 rounded-md focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary">
                                    <option value="">全部领域</option>
                                    <option value="customer">客户管理</option>
                                    <option value="product">产品管理</option>
                                    <option value="transaction">交易管理</option>
                                </select>
                            </div>
                            <div>
                                <label class="block text-sm font-medium text-neutral-700 mb-2">系统</label>
                                <select class="w-full px-3 py-2 border border-neutral-200 rounded-md focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary">
                                    <option value="">全部系统</option>
                                    <option value="core">核心系统</option>
                                    <option value="crm">CRM系统</option>
                                    <option value="risk">风控系统</option>
                                </select>
                            </div>
                            <div>
                                <label class="block text-sm font-medium text-neutral-700 mb-2">模型名称</label>
                                <input type="text" placeholder="请输入模型名称" class="w-full px-3 py-2 border border-neutral-200 rounded-md focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary">
                            </div>
                        </div>
                        <div class="mt-4 flex justify-end space-x-3">
                            <button class="px-4 py-2 text-sm text-neutral-600 border border-neutral-200 rounded-md hover:bg-neutral-50 transition-all">
                                <i class="fa fa-refresh mr-1"></i>重置
                            </button>
                            <button class="px-4 py-2 text-sm text-white bg-primary rounded-md hover:bg-primary/90 transition-all">
                                <i class="fa fa-search mr-1"></i>查询
                            </button>
                        </div>
                    </div>

                    <!-- 模型清单表格 -->
                    <div class="bg-white rounded-lg shadow-card overflow-hidden">
                        <div class="p-6 border-b border-neutral-200 flex justify-between items-center">
                            <h3 class="text-lg font-semibold text-neutral-700 flex items-center">
                                <i class="fa fa-table text-primary mr-2"></i>模型清单
                            </h3>
                            <button class="px-4 py-2 text-sm text-white bg-success rounded-md hover:bg-success/90 transition-all">
                                <i class="fa fa-plus mr-1"></i>新建模型
                            </button>
                        </div>
                        <div class="overflow-x-auto">
                            <table class="min-w-full divide-y divide-neutral-200">
                                <thead class="bg-neutral-50">
                                    <tr>
                                        <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-neutral-500 uppercase tracking-wider">模型名称</th>
                                        <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-neutral-500 uppercase tracking-wider">模型管理员</th>
                                        <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-neutral-500 uppercase tracking-wider">模型归属</th>
                                        <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-neutral-500 uppercase tracking-wider">发布时间</th>
                                        <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-neutral-500 uppercase tracking-wider">版本号</th>
                                        <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-neutral-500 uppercase tracking-wider">操作</th>
                                    </tr>
                                </thead>
                                <tbody class="bg-white divide-y divide-neutral-200">
                                    <tr class="hover:bg-neutral-50 transition-all">
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <div class="flex items-center">
                                                <i class="fa fa-cube text-primary mr-2"></i>
                                                <span class="text-sm font-medium text-neutral-700">fmut</span>
                                            </div>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm text-neutral-600">张三</td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <span class="text-xs px-2 py-1 bg-primary/10 text-primary rounded-full">零售银行</span>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm text-neutral-600">2024-12-01 10:30</td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <span class="text-xs px-2 py-1 bg-success/10 text-success rounded-full">v2.1.0</span>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm">
                                            <div class="flex items-center space-x-2">
                                                <button class="text-primary hover:text-primary/80" title="查看">
                                                    <i class="fa fa-eye"></i>
                                                </button>
                                                <button class="text-secondary hover:text-secondary/80" title="编辑">
                                                    <i class="fa fa-edit"></i>
                                                </button>
                                                <button class="text-warning hover:text-warning/80" title="版本历史">
                                                    <i class="fa fa-history"></i>
                                                </button>
                                                <button class="text-danger hover:text-danger/80" title="删除">
                                                    <i class="fa fa-trash"></i>
                                                </button>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr class="hover:bg-neutral-50 transition-all">
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <div class="flex items-center">
                                                <i class="fa fa-cube text-primary mr-2"></i>
                                                <span class="text-sm font-medium text-neutral-700">customer_info</span>
                                            </div>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm text-neutral-600">李四</td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <span class="text-xs px-2 py-1 bg-secondary/10 text-secondary rounded-full">公司银行</span>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm text-neutral-600">2024-11-28 14:20</td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <span class="text-xs px-2 py-1 bg-success/10 text-success rounded-full">v1.8.2</span>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm">
                                            <div class="flex items-center space-x-2">
                                                <button class="text-primary hover:text-primary/80" title="查看">
                                                    <i class="fa fa-eye"></i>
                                                </button>
                                                <button class="text-secondary hover:text-secondary/80" title="编辑">
                                                    <i class="fa fa-edit"></i>
                                                </button>
                                                <button class="text-warning hover:text-warning/80" title="版本历史">
                                                    <i class="fa fa-history"></i>
                                                </button>
                                                <button class="text-danger hover:text-danger/80" title="删除">
                                                    <i class="fa fa-trash"></i>
                                                </button>
                                            </div>
                                        </td>
                                    </tr>
                                    <tr class="hover:bg-neutral-50 transition-all">
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <div class="flex items-center">
                                                <i class="fa fa-cube text-primary mr-2"></i>
                                                <span class="text-sm font-medium text-neutral-700">product_catalog</span>
                                            </div>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm text-neutral-600">王五</td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <span class="text-xs px-2 py-1 bg-warning/10 text-warning rounded-full">金融市场</span>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm text-neutral-600">2024-11-25 09:15</td>
                                        <td class="px-6 py-4 whitespace-nowrap">
                                            <span class="text-xs px-2 py-1 bg-success/10 text-success rounded-full">v3.0.1</span>
                                        </td>
                                        <td class="px-6 py-4 whitespace-nowrap text-sm">
                                            <div class="flex items-center space-x-2">
                                                <button class="text-primary hover:text-primary/80" title="查看">
                                                    <i class="fa fa-eye"></i>
                                                </button>
                                                <button class="text-secondary hover:text-secondary/80" title="编辑">
                                                    <i class="fa fa-edit"></i>
                                                </button>
                                                <button class="text-warning hover:text-warning/80" title="版本历史">
                                                    <i class="fa fa-history"></i>
                                                </button>
                                                <button class="text-danger hover:text-danger/80" title="删除">
                                                    <i class="fa fa-trash"></i>
                                                </button>
                                            </div>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <!-- 分页 -->
                        <div class="px-6 py-4 border-t border-neutral-200 flex items-center justify-between">
                            <div class="text-sm text-neutral-500">
                                显示 1-3 共 3 条记录
                            </div>
                            <div class="flex space-x-2">
                                <button class="px-3 py-1 text-sm border border-neutral-200 rounded-md text-neutral-400 cursor-not-allowed">
                                    上一页
                                </button>
                                <button class="px-3 py-1 text-sm bg-primary text-white rounded-md">
                                    1
                                </button>
                                <button class="px-3 py-1 text-sm border border-neutral-200 rounded-md text-neutral-400 cursor-not-allowed">
                                    下一页
                                </button>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Tab 2: 模型管理 -->
                <div id="model-management-content" class="tab-content hidden">
                    <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-6">
                        <!-- 基础管理 -->
                        <div class="bg-white rounded-lg shadow-card p-6">
                            <h3 class="text-lg font-semibold text-neutral-700 mb-4 flex items-center border-b border-neutral-200 pb-3">
                                <i class="fa fa-folder-open text-primary mr-2"></i>基础管理
                            </h3>
                            <div class="space-y-3">
                                <a href="#" class="flex items-center justify-between p-3 hover:bg-neutral-50 rounded-md transition-all group">
                                    <div class="flex items-center">
                                        <i class="fa fa-file-text-o text-secondary mr-3"></i>
                                        <span class="text-neutral-700 group-hover:text-primary">数据项申请</span>
                                    </div>
                                    <i class="fa fa-chevron-right text-neutral-400 group-hover:text-primary"></i>
                                </a>
                                <a href="#" class="flex items-center justify-between p-3 hover:bg-neutral-50 rounded-md transition-all group">
                                    <div class="flex items-center">
                                        <i class="fa fa-link text-secondary mr-3"></i>
                                        <span class="text-neutral-700 group-hover:text-primary">订阅关系管理</span>
                                    </div>
                                    <i class="fa fa-chevron-right text-neutral-400 group-hover:text-primary"></i>
                                </a>
                            </div>
                        </div>

                        <!-- 数据治理 -->
                        <div class="bg-white rounded-lg shadow-card p-6">
                            <h3 class="text-lg font-semibold text-neutral-700 mb-4 flex items-center border-b border-neutral-200 pb-3">
                                <i class="fa fa-shield text-success mr-2"></i>数据治理
                            </h3>
                            <div class="space-y-3">
                                <a href="#" class="flex items-center justify-between p-3 hover:bg-neutral-50 rounded-md transition-all group">
                                    <div class="flex items-center">
                                        <i class="fa fa-check-square-o text-success mr-3"></i>
                                        <span class="text-neutral-700 group-hover:text-primary">白名单配置</span>
                                    </div>
                                    <i class="fa fa-chevron-right text-neutral-400 group-hover:text-primary"></i>
                                </a>
                                <a href="#" class="flex items-center justify-between p-3 hover:bg-neutral-50 rounded-md transition-all group">
                                    <div class="flex items-center">
                                        <i class="fa fa-table text-success mr-3"></i>
                                        <span class="text-neutral-700 group-hover:text-primary">生产态表结构</span>
                                    </div>
                                    <i class="fa fa-chevron-right text-neutral-400 group-hover:text-primary"></i>
                                </a>
                                <a href="#" class="flex items-center justify-between p-3 hover:bg-neutral-50 rounded-md transition-all group">
                                    <div class="flex items-center">
                                        <i class="fa fa-exchange text-success mr-3"></i>
                                        <span class="text-neutral-700 group-hover:text-primary">生产态模型比对</span>
                                    </div>
                                    <i class="fa fa-chevron-right text-neutral-400 group-hover:text-primary"></i>
                                </a>
                                <a href="#" class="flex items-center justify-between p-3 hover:bg-neutral-50 rounded-md transition-all group">
                                    <div class="flex items-center">
                                        <i class="fa fa-random text-success mr-3"></i>
                                        <span class="text-neutral-700 group-hover:text-primary">测试态模型比对</span>
                                    </div>
                                    <i class="fa fa-chevron-right text-neutral-400 group-hover:text-primary"></i>
                                </a>
                            </div>
                        </div>
                    </div>

                    <!-- 安全分级分类管理 -->
                    <div class="bg-white rounded-lg shadow-card p-6">
                        <h3 class="text-lg font-semibold text-neutral-700 mb-4 flex items-center border-b border-neutral-200 pb-3">
                            <i class="fa fa-lock text-danger mr-2"></i>安全分级分类管理
                        </h3>
                        <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
                            <a href="#" class="p-4 border-2 border-neutral-200 hover:border-primary rounded-lg transition-all group">
                                <div class="flex items-center justify-between mb-2">
                                    <i class="fa fa-shield text-2xl text-danger"></i>
                                    <span class="text-xs px-2 py-1 bg-danger/10 text-danger rounded-full">高级</span>
                                </div>
                                <h4 class="font-medium text-neutral-700 group-hover:text-primary mb-1">敏感数据分类</h4>
                                <p class="text-xs text-neutral-500">管理敏感数据的分类和标记</p>
                            </a>
                            <a href="#" class="p-4 border-2 border-neutral-200 hover:border-primary rounded-lg transition-all group">
                                <div class="flex items-center justify-between mb-2">
                                    <i class="fa fa-lock text-2xl text-warning"></i>
                                    <span class="text-xs px-2 py-1 bg-warning/10 text-warning rounded-full">中级</span>
                                </div>
                                <h4 class="font-medium text-neutral-700 group-hover:text-primary mb-1">安全等级设置</h4>
                                <p class="text-xs text-neutral-500">配置数据的安全访问等级</p>
                            </a>
                            <a href="#" class="p-4 border-2 border-neutral-200 hover:border-primary rounded-lg transition-all group">
                                <div class="flex items-center justify-between mb-2">
                                    <i class="fa fa-user-secret text-2xl text-primary"></i>
                                    <span class="text-xs px-2 py-1 bg-primary/10 text-primary rounded-full">普通</span>
                                </div>
                                <h4 class="font-medium text-neutral-700 group-hover:text-primary mb-1">权限审批流程</h4>
                                <p class="text-xs text-neutral-500">管理数据访问权限审批</p>
                            </a>
                        </div>
                    </div>
                </div>

                <!-- Tab 3: 配置管理 -->
                <div id="config-management-content" class="tab-content hidden">
                    <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
                        <!-- 权限配置 -->
                        <div class="bg-white rounded-lg shadow-card p-6">
                            <div class="flex items-center justify-between mb-4 pb-3 border-b border-neutral-200">
                                <h3 class="text-lg font-semibold text-neutral-700 flex items-center">
                                    <i class="fa fa-users text-primary mr-2"></i>权限配置
                                </h3>
                                <button class="text-xs px-3 py-1 bg-primary text-white rounded-md hover:bg-primary/90">
                                    <i class="fa fa-plus mr-1"></i>新增
                                </button>
                            </div>
                            <div class="space-y-3">
                                <div class="p-3 border border-neutral-200 rounded-md hover:border-primary transition-all">
                                    <div class="flex items-center justify-between mb-2">
                                        <span class="text-sm font-medium text-neutral-700">角色管理</span>
                                        <i class="fa fa-edit text-secondary cursor-pointer"></i>
                                    </div>
                                    <p class="text-xs text-neutral-500">配置用户角色和权限范围</p>
                                </div>
                                <div class="p-3 border border-neutral-200 rounded-md hover:border-primary transition-all">
                                    <div class="flex items-center justify-between mb-2">
                                        <span class="text-sm font-medium text-neutral-700">数据权限</span>
                                        <i class="fa fa-edit text-secondary cursor-pointer"></i>
                                    </div>
                                    <p class="text-xs text-neutral-500">设置数据访问权限规则</p>
                                </div>
                                <div class="p-3 border border-neutral-200 rounded-md hover:border-primary transition-all">
                                    <div class="flex items-center justify-between mb-2">
                                        <span class="text-sm font-medium text-neutral-700">操作权限</span>
                                        <i class="fa fa-edit text-secondary cursor-pointer"></i>
                                    </div>
                                    <p class="text-xs text-neutral-500">管理用户操作权限</p>
                                </div>
                            </div>
                        </div>

                        <!-- 系统配置 -->
                        <div class="bg-white rounded-lg shadow-card p-6">
                            <div class="flex items-center justify-between mb-4 pb-3 border-b border-neutral-200">
                                <h3 class="text-lg font-semibold text-neutral-700 flex items-center">
                                    <i class="fa fa-cog text-success mr-2"></i>系统配置
                                </h3>
                                <button class="text-xs px-3 py-1 bg-success text-white rounded-md hover:bg-success/90">
                                    <i class="fa fa-wrench mr-1"></i>配置
                                </button>
                            </div>
                            <div class="space-y-3">
                                <div class="p-3 border border-neutral-200 rounded-md hover:border-success transition-all">
                                    <div class="flex items-center justify-between mb-2">
                                        <span class="text-sm font-medium text-neutral-700">数据库连接</span>
                                        <span class="text-xs px-2 py-1 bg-success/10 text-success rounded-full">已连接</span>
                                    </div>
                                    <p class="text-xs text-neutral-500">配置数据库连接参数</p>
                                </div>
                                <div class="p-3 border border-neutral-200 rounded-md hover:border-success transition-all">
                                    <div class="flex items-center justify-between mb-2">
                                        <span class="text-sm font-medium text-neutral-700">版本控制</span>
                                        <span class="text-xs px-2 py-1 bg-warning/10 text-warning rounded-full">需配置</span>
                                    </div>
                                    <p class="text-xs text-neutral-500">管理模型版本策略</p>
                                </div>
                                <div class="p-3 border border-neutral-200 rounded-md hover:border-success transition-all">
                                    <div class="flex items-center justify-between mb-2">
                                        <span class="text-sm font-medium text-neutral-700">同步设置</span>
                                        <span class="text-xs px-2 py-1 bg-success/10 text-success rounded-full">已启用</span>
                                    </div>
                                    <p class="text-xs text-neutral-500">配置数据同步规则</p>
                                </div>
                            </div>
                        </div>

                        <!-- 基础管理 -->
                        <div class="bg-white rounded-lg shadow-card p-6">
                            <div class="flex items-center justify-between mb-4 pb-3 border-b border-neutral-200">
                                <h3 class="text-lg font-semibold text-neutral-700 flex items-center">
                                    <i class="fa fa-folder-open text-warning mr-2"></i>基础管理
                                </h3>
                                <button class="text-xs px-3 py-1 bg-warning text-white rounded-md hover:bg-warning/90">
                                    <i class="fa fa-gear mr-1"></i>管理
                                </button>
                            </div>
                            <div class="space-y-3">
                                <div class="p-3 border border-neutral-200 rounded-md hover:border-warning transition-all">
                                    <div class="flex items-center justify-between mb-2">
                                        <span class="text-sm font-medium text-neutral-700">日志管理</span>
                                        <i class="fa fa-file-text-o text-secondary cursor-pointer"></i>
                                    </div>
                                    <p class="text-xs text-neutral-500">查看系统操作日志</p>
                                </div>
                                <div class="p-3 border border-neutral-200 rounded-md hover:border-warning transition-all">
                                    <div class="flex items-center justify-between mb-2">
                                        <span class="text-sm font-medium text-neutral-700">备份恢复</span>
                                        <i class="fa fa-database text-secondary cursor-pointer"></i>
                                    </div>
                                    <p class="text-xs text-neutral-500">管理模型备份和恢复</p>
                                </div>
                                <div class="p-3 border border-neutral-200 rounded-md hover:border-warning transition-all">
                                    <div class="flex items-center justify-between mb-2">
                                        <span class="text-sm font-medium text-neutral-700">审计追踪</span>
                                        <i class="fa fa-history text-secondary cursor-pointer"></i>
                                    </div>
                                    <p class="text-xs text-neutral-500">追踪模型变更历史</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </main>
    </div>

    <!-- JavaScript -->
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // Tab切换功能
            const tabButtons = document.querySelectorAll('.tab-button');
            const tabContents = document.querySelectorAll('.tab-content');

            tabButtons.forEach(button => {
                button.addEventListener('click', function() {
                    const targetTab = this.getAttribute('data-tab');
                    
                    // 移除所有激活状态
                    tabButtons.forEach(btn => {
                        btn.classList.remove('text-primary', 'border-primary');
                        btn.classList.add('text-neutral-500', 'border-transparent');
                    });
                    
                    // 添加当前激活状态
                    this.classList.remove('text-neutral-500', 'border-transparent');
                    this.classList.add('text-primary', 'border-primary');
                    
                    // 隐藏所有内容
                    tabContents.forEach(content => {
                        content.classList.add('hidden');
                    });
                    
                    // 显示对应内容
                    const targetContent = document.getElementById(targetTab + '-content');
                    if (targetContent) {
                        targetContent.classList.remove('hidden');
                    }
                });
            });

            // 设计管理子菜单展开/收起
            const designToggle = document.getElementById('design-menu-toggle');
            const designSubmenu = document.getElementById('design-submenu');
            
            if (designToggle && designSubmenu) {
                // 默认展开子菜单
                designSubmenu.classList.remove('hidden');
                designToggle.querySelector('i').classList.add('rotate-90');
                
                designToggle.addEventListener('click', function(e) {
                    e.preventDefault();
                    e.stopPropagation();
                    designSubmenu.classList.toggle('hidden');
                    const icon = this.querySelector('i');
                    icon.classList.toggle('rotate-90');
                });
            }

            // 测试管理子菜单展开/收起
            const testToggle = document.getElementById('test-menu-toggle');
            const testSubmenu = document.getElementById('test-submenu');
            
            if (testToggle && testSubmenu) {
                testToggle.addEventListener('click', function(e) {
                    e.preventDefault();
                    e.stopPropagation();
                    testSubmenu.classList.toggle('hidden');
                    const icon = this.querySelector('i');
                    icon.classList.toggle('rotate-90');
                });
            }
        });
    </script>
</body>
</html>
